<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
 <link href="css/ShopRegister.css" rel="stylesheet">
 <script type="text/javascript" src="JS/jquery-3.4.1.js" charset="utf-8"></script>
<link href="css/ShopRegister.css" rel="stylesheet">
<%@taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
 <%@ include file="/ShopRegister_js.jsp" %>
</head>
<body>
<header>
           <a href = "${pageContext.request.contextPath }/Index.jsp"><img src="img/taobaotu.jpg" width="130px" height="90px"/></a> 
			<div class="desc">商家注册</div>
			<c:if test="${user_login == null }">
				<div class="" style = "position: relative;left:220px;top:80px;">请先登录</div>
			</c:if>
			<c:if test="${user_login != null }">
				<div class="" style = "position: relative;left:220px;top:80px;">${user_login.username }</div>
			</c:if>
			
			
		</header>
		<section>
			<form action="${pageContext.request.contextPath}/ShopRegisterServlet" method="post" >
				<div class="register-box">
					<label for="username" class="other_label">店 铺 名 称
					<input maxlength="20" type="text" placeholder="店铺用的名称" name="shopnameregister"/>
					</label>
					<div class="tips">
						
					</div>
				</div>
				<div class="register-box-describe">
					<label for="username" class="other_label" >店 铺 描 述:</label>
					<textarea name="shopdescriberegister" style="clear: both;"></textarea>
					<div class="tips">
						
					</div>
				</div>
				
			
				<div class="arguement">
					<input type="checkbox" id="xieyi"/>
					阅读并同意
					<a href="http://terms.alicdn.com/legal-agreement/terms/TD/TD201609301342_19559.html?spm=a2145.7268393.0.0.f9aa5d7c9FaGXk" target="_blank">《用户注册协议》</a>
					<a href="http://terms.alicdn.com/legal-agreement/terms/suit_bu1_taobao/suit_bu1_taobao201703241622_61002.html?spm=a2145.7268393.0.0.f9aa5d7c9FaGXk" target="_blank">《隐私政策》</a>
					<div class="tips">
						
					</div>
				</div>
				<div class="submit_btn">
					<button type="submit" id="submit_btn">立 即 注 册</button>
				</div>
			</form>
		</section>
	</body>
</body>
</html>